@import '@/app/styles/variables';

.title {
  margin-top: 32px;
  margin-bottom: 40px;
  transition: $transition-default;
}

.input_container {
  margin: 0 auto;
  max-width: 1050px;
}

.sort,
.sort_mobile {
  all: unset;
  transition: 0.375s max-width ease, 0.375s max-height ease, 0.375s padding ease, 0.375s opacity ease;
  cursor: pointer;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  text-align: end;
  &:hover {
    color: #337cec;
  }
  &:active {
    color: #337cec;
  }
}

.sort {
  min-width: 200px;
  padding: 0;
  justify-content: flex-end;
  height: 48px;

  &_container {
    display: flex;
    justify-content: flex-end;
    width: 225px;
    height: 48px;
    margin-left: auto;
  }
}

.sort_mobile {
  margin-top: 16px;
  max-height: 20px;
  display: none;

  &.sort_mobile_no_hover {
    &:hover {
      color: #000;
    }
    &:active {
      color: #000;
    }
  }
}

@include media(sm) {
  .input_container {
    max-width: 1000px;
    margin: 0 auto 0 0;
  }
  .sort_mobile {
    display: flex;
    margin-top: 16px;
  }
  .sort_container {
    display: none;
  }

  .title {
    margin-top: 24px;
    margin-bottom: 24px;
    max-height: 30px;
  }
  .sort_mobile,
  .sort_mobile_no_hover {
    font-size: 14px;
    line-height: 20px;
  }

  .footer {
    margin-bottom: 0;
  }
}

@include media(xs) {
  .input_container {
    max-width: 750px;
    margin: 0 auto 0 0;
  }
}
